.content {
  background-color: #1d1d1d;
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-evenly;
  padding: 8px;
  z-index: 1;
}

.content > div {
  width: 20%;
  padding-right: 8px;
}

.content > div:first-child {
  min-width: 220px;
}
.content > div:nth-child(2) {
  min-width: 200px;
}

.content > div:nth-child(3) {
  width: 40%;
}

.content > div:last-child {
  padding-right: 0;
  min-width: 240px;
}


@media (max-width:992px) {
  .content {
    display: block;
    overflow-y: auto;
  }

  .content > div {
    width: 100%!important;
    padding-right: 0;
    padding-bottom: 8px;
  }
}

.vertical > div {
  height: 100%;
}

.vertical-split {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-evenly;
  flex-wrap: nowrap;
}

.vertical-split > div {
  height: 50%;
}

.vertical-split > div:first-child {
  margin-bottom: 8px;
}

.vertical-split:last-child > div:first-child {
  height: 60px;
}

.vertical-split:last-child > div:last-child {
  height: 40%;
}

@media (max-width: 992px) {
  .vertical-split {
    display: block;
  }
  .vertical-split > div,
  .vertical-split > div:first-child {
    height: auto;
  }
}

.card {
  border-radius: 0px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-evenly;
  flex-wrap: nowrap;
}

.card-header {
  padding: 8px 4px;
}

.card-body {
  flex: auto;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  padding: 2px;
}

.card-body th {
  border-top: 0;
}

.card-body .nav-tabs {
  border: #95999c;
}

.card-body .nav-item.nav-link {
  font-size: 80%;
  font-weight: bold;
  border-color: inherit;
  color: inherit;
  padding: 4px 8px;
  border: 0px #95999c;
  border-radius: 0px;
}

.card-body .nav-item.nav-link.active {
  border: 0px;
  border-bottom: 1px solid #007bff;
}

.card-body .price-chart {
  height: 100%;
  padding-bottom: 60px;
}

.card-body .price-chart .price{
  padding-left: 20px;
}

td.cancel-order {
  cursor: pointer;
}

td.order-book-order {
  cursor: pointer;
}

/* =========== */

.card-body {
  overflow: auto;
  padding: 10px;
}
.card-body.hidden-overflow {
  overflow: hidden;
}
.card-body::-webkit-scrollbar {
  width: 1px;
  background-color: #ffffff26;
}
.card-body::-webkit-scrollbar-thumb {
  width: 1px;
  background-color: #ffffff33;
}

/* 覆盖 bootstrap 样式 */
.nav-tabs .nav-link.active {
  background-color: transparent;
}

.price-chart {
  overflow: hidden; /* 阻止滚动条的出现 */
}

.table-hover:hover {
  background: #030d25;
  transition: 100ms ease;
}

.pointer {
  cursor: pointer;
}